package com.attendance.www.hr.service;

import java.util.List;

import com.attendance.www.hr.beans.FurloughBean;
import com.attendance.www.hr.entitys.Furlough;

public interface IFurloughService {
	/**
	 * 获取休假设置
	 * @return
	 */
	public List<FurloughBean> getFurloughList();
	
	/**
	 * 根据ID查找休假设置
	 * @param furloughId
	 * @return
	 */
	public Furlough getFurloughListById(Integer furloughId);
	
	/**
	 * 添加休假设置
	 * @param furloughBean
	 * @return
	 */
	public boolean saveFurlough(FurloughBean furloughBean);
	
	/**
	 * 更新休假设置
	 * @param furloughBean
	 * @return
	 */
	public boolean updateFurlough(FurloughBean furloughBean);
	
	/**
	 * 删除休假设置
	 * @param furloughId
	 * @return
	 */
	public boolean deleteFurlough(Integer furloughId);

	/**
	 * 根据Furlough获取休假设置
	 * @param furloughBean
	 * @return
	 */
	boolean getFurloughByFurlough(FurloughBean furloughBean);


}
